import axios from '@/api/fetch';
import SERVER from '@/api/server';



// 人员岗位信息 分页查询
export const pageDealerStationMaintaion = (params) => axios.get(`${SERVER.CMSCLOUD_CHANNEL}/personnelInfo/dealerStation`, { params });

export const insertStationMaintaion = params => axios.post(`${SERVER.CMSCLOUD_CHANNEL}/personnelInfo/dealerStation`,  params );

export const updataStationMaintaion = (params, id) => axios.put(`${SERVER.CMSCLOUD_CHANNEL}/personnelInfo/dealerStation/${id}`,  params );

export const issueStation = (ids) => axios.get(`${SERVER.CMSCLOUD_CHANNEL}/personnelInfo/dealerStation/issue/${ids}`);

export const getAllList = (params) => axios.get(`${SERVER.CMSCLOUD_CHANNEL}/personnelInfo/dealerStation/allList`, { params });
